package com.wwj.server.control.msg;

import com.google.gson.annotations.SerializedName;
import com.wwj.server.control.common.MsgConstants;
import com.wwj.server.model.NetBaseMsg;

public class DeviceHeartbeatMsgAck extends NetBaseMsg {

    private String type = MsgConstants.DEVICE_HEARTBEAT_ACK;

    @SerializedName("device_id")
    private String deviceId;

    public DeviceHeartbeatMsgAck() {
    }

    public DeviceHeartbeatMsgAck(DeviceHeartbeatMsg msg) {
        this.deviceId = msg.getDeviceId();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
}
